package capricornus.scene.events
{
	import flash.events.Event;
	
	public class ActionSceneEvent extends Event
	{
		public static const ENTER_SCENE:String = "ENTER_SCENE";            //进入场景
		public static const LEAVE_SCENE:String = "LEVEL_SCENE";            //离开场景
		
		public static const ACTION_SCENE_MOUSE_OVER:String = "ACTION_SCENE_MOUSE_OVER";
		public static const ACTION_SCENE_MOUSE_OUT:String = "ACTION_SCENE_MOUSE_OUT";
		
		public static const ACTION_SCENE_SCROLLED:String = "ACTION_SCENE_SCROLLED";                //场景视口滚动事件
		
		public static const ACTION_SCENE_DATA_COMPLETE:String = "ACTION_SCENE_DATA_COMPLETE";      //场景数据装载完成事件
		
		public var data:Object;
		
		public function ActionSceneEvent(type:String, data:Object=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			this.data = data;
			super(type, bubbles, cancelable);
		}
	}
}